package com.chen.webuser.service.impl;

import com.chen.webuser.entity.WebUserInfo;
import com.chen.webuser.mapper.WebUserInfoMapper;
import com.chen.webuser.service.WebUserInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author chen
 * @since 2025-10-19
 */
@Service
public class WebUserInfoServiceImpl extends ServiceImpl<WebUserInfoMapper, WebUserInfo> implements WebUserInfoService {

    @Autowired
    private WebUserInfoMapper webUserInfoMapper;
    /**
     * 根据 uid查询, webUserinfo
     * @param userIdList
     * @return
     */
    @Override
    public List<WebUserInfo> selectByUid(List<Integer> userIdList) {
        List<WebUserInfo> webUserInfoList = webUserInfoMapper.selectBatchIds(userIdList);
        return webUserInfoList;
    }
}
